namespace java ai.moran.demo.thrift
struct UserInfo{

    1:i32 userId,

    2:string username,

    3:string password,

    4:string sex,

    5:string age,

}

service UserInfoService{

    UserInfo getUserInfoById(1:i32 userid),

    string   getUserNameById(1:i32 userid),

    i32      getUserCount(),

    bool     checkUserById(1:i32 userid),

}